package cn.com.bonc.khjy.date.dao.dataSource3;

import cn.com.bonc.khjy.date.mapper.dataSource3.CommonMapper3;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class CommonDao3 {

    private Logger logger = LoggerFactory.getLogger(CommonDao3.class);

    @Autowired
    private CommonMapper3 mapper3;

    public String getContactorName(String contactorId){
        return mapper3.getContactorName(contactorId);
    }

    public List<String> getAllContactorId(){
        return mapper3.getAllContactorId();
    }

    public List<String> getAllContactorTopic() {
        return mapper3.getAllContactorTopic();
    }
}
